flutter_application_path = './flutter_module'
load File.join(flutter_application_path, '.ios', 'Flutter', 'podhelper.rb')

target 'CLBrowser' do
  inhibit_all_warnings!
  
  install_all_flutter_pods(flutter_application_path)
  
  pod 'Masonry'
  
  pod 'SVProgressHUD'
  
  pod 'ReactiveObjC'
  
  pod 'AFNetworking'
  
  pod 'SDWebImage', '5.10.4'
  
  pod 'IQKeyboardManager'
  
  #高德地图
  pod 'AMapSearch' #搜索功能
  pod 'AMap2DMap' #2D地图SDK
  pod 'AMapLocation' #定位SDK
  
  pod 'ChuckTableView’
  
  # 仿制微信相册
  pod 'TJLImagePicker', '~> 0.3.0'
  #    pod 'LFImagePickerController/LFMediaEdit'
  pod 'TZImagePickerController' ,'3.6.0'
  # iOS程序调试神器
  # http://neater.github.io/blog/2014/07/31/flex!iosdiao-shi-li-qi/
  # http://www.cocoachina.com/ios/20140728/9259.html
  # http://www.starming.com/index.php?v=index&view=23
  pod 'YYKit'
  # 加密
#  pod 'CocoaSecurity'                     , '1.2.4'
  # 字典转模型 该项目使用YYModel
  pod 'MJExtension'                       , '3.0.13'
  # 状态栏通知
  pod 'JDStatusBarNotification'           , '1.5.5'
  # 钥匙串存储
  pod 'SAMKeychain'                       , '1.5.2'
  # FaceBook KVO（优雅的代替系统原生的KVO）
  pod 'KVOController'                     , '1.2.0'
  # 侧滑手势
  pod 'FDFullscreenPopGesture'            , '1.1'
  # 空占位
  pod 'DZNEmptyDataSet'                   , '1.8.1'
  # 环形进度条
  pod 'DACircularProgress'                , '2.3.1'
  # UI block
  pod 'BlocksKit'                         , '2.2.5'
  # pop动画
  pod 'pop'                               , '1.0.10'
  # 腾讯云服务
  # pod 'QCloudCOSXML'
  # 友盟
  #    pod 'UMCCommon'
  #    pod 'UMCErrorCatch'
  #    pod 'UMCAnalytics'
  #    pod 'UMCSecurityPlugins'
  #    pod 'UMCShare/Social/WeChat'
  #    pod 'UMCShare/Social/QQ'
  
  pod 'GMenuController'
  pod 'FMDB'
  pod 'YQImageCompressor'
  pod 'JLRoutes'
  
  pod 'CocoaLumberjack', '~> 3.4.1'
  pod 'Mantle', '~> 2.1.0'
  pod 'GCDWebServer', '~> 3.4.2'
  pod 'TFHpple', '2.0.0'
  pod 'LKDBHelper'
  pod 'WebViewJavascriptBridge'
  # 弹窗
  pod 'FFPopup', '~> 1.1.5'
  pod 'LookinServer', :configurations => ['Debug']
end

# 实现post_install Hooks
post_install do |installer|
  # 1. 遍历项目中所有target,清理所有警告
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings['ENABLE_BITCODE'] = 'NO'
      config.build_settings['WARNING_CFLAGS'] = '-w'
      config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0'
    end
  end
end
